package com.liwujie.common.order;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "订单项信息")
public class OrderItemVO {
    @ApiModelProperty(value = "商品ID")
    private Long spuId;

    @ApiModelProperty(value = "SKU ID")
    private Long skuId;

    @ApiModelProperty(value = "商品名称")
    private String spuName;

    @ApiModelProperty(value = "SKU名称")
    private String skuName;

    @ApiModelProperty(value = "商品图片")
    private String pic;

    @ApiModelProperty(value = "数量")
    private Integer count;

    @ApiModelProperty(value = "单价(分)")
    private Long price;

    @ApiModelProperty(value = "总价(分)")
    private Long totalAmount;
}
